#ifndef TEXTURE_H
#define TEXTURE_H

#include <QGLViewer/qglviewer.h>
#include <qimage.h>
#include "Macro.h"

enum DS_TEXTURE_NUMBER
{
	DS_NONE = 0,       /* uses the current color instead of a texture */
	DS_WOOD,
	DS_CHECKERED,
	DS_GROUND,
	DS_SKY,
};

class Texture 
{
private:
	GLuint name;
public:
	Texture (QString filename);
	~Texture();
	void bind (int modulate);
};

#endif